﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace RB2015.Models
{
    public class Articles
    {
        [Required(ErrorMessage="You need to fill in a first name")]
        public string FirstName { get; set; }
        [Required(ErrorMessage="You need to fill in a last name")]
        public string LastName { get; set; }
        [Required(ErrorMessage="You need to fill in an email address")]
        public string Email { get; set; }
        [Required(ErrorMessage="You need to fill in a comment")]
        public string Comments { get; set; }
        //[Key]
        //[Required]
        //public int ArticleId { get; set; }
        //public string ArticleName { get; set; }
    }
}